package tech.waterism.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import tech.waterism.enums.BoundLogicEnum;
import tech.waterism.enums.FieldEnum;
import tech.waterism.enums.TendencyEnum;

import java.util.List;

/**
 * 条件
 */
@Data
public class PrincipleCondition {
    /**
     * 项目
     */
    @ApiModelProperty(value = "项目")
    private FieldEnum compareField;
    /**
     * 是否使用缺省站
     */
    private Boolean setStcd;

    /**
     * 站点
     */
    @ApiModelProperty(value = "站点")
    private String stcd;
    /**
     * 平替站
     */
    @ApiModelProperty(value = "平替站")
    private String stcdR;

    /**
     * 合作站点
     */
    private List<StationCharInfoDto> combConditions;

    /**
     * 时间
     */
    @ApiModelProperty(value = "时间")
    private PrincipleTime time;

    /**
     * 下限
     */
    @ApiModelProperty(value = "下限")
    private DispatchBound lowerBound;
    /**
     * 上限
     */
    @ApiModelProperty(value = "上限")
    private DispatchBound upperBound;

    /**
     * 范围逻辑
     */
    @ApiModelProperty(value = "范围逻辑")
    private BoundLogicEnum boundLogic;

    /**
     * 趋势
     */
    @ApiModelProperty(value = "趋势")
    private TendencyEnum tendencyEnum;
}
